package com.itheima.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.domain.Dish;
import com.itheima.dto.DishDto;

import java.util.List;

public interface DishService extends IService<Dish> {
    void saveWithDishFlavor(DishDto dto);

    Page selectByPage(int page, int size, String name);

    DishDto getByIdWithFlavor(long id);

    void updateWithFlavor(DishDto dishDto);

    void MyRemove(List<Long> ids);

    void soldAndStop(List<Long> ids);
}